package com.baibei.model;

import java.util.List;

/**
 * Created by tang on 2018/5/23.
 */

public class CommentInfo {

    private long parentId;
    private String content;
    private String createDate;
    private String nickName;
    private String flg;
    private String userAvatar;
    private List<ChildCommentInfo> childComment;

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getFlg() {
        return flg;
    }

    public void setFlg(String flg) {
        this.flg = flg;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public List<ChildCommentInfo> getChildComment() {
        return childComment;
    }

    public void setChildComment(List<ChildCommentInfo> childComment) {
        this.childComment = childComment;
    }

    @Override
    public String toString() {
        return "CommentInfo{" +
                "parentId=" + parentId +
                ", content='" + content + '\'' +
                ", createDate='" + createDate + '\'' +
                ", nickName='" + nickName + '\'' +
                ", flg='" + flg + '\'' +
                ", userAvatar='" + userAvatar + '\'' +
                ", childComment=" + childComment +
                '}';
    }
}
